package c.x.jy.service.service;

import c.x.jy.common.utils.PageUtils;
import c.x.jy.dao.entity.CmsArticleEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author amwhyh
 * @email xxx@xx.com
 * @date 2021-05-22 16:38:13
 */
public interface CmsArticleService extends IService<CmsArticleEntity> {

    PageUtils queryPage(Map<String, Object> params);

    int updateHits(Long id);

    IPage<CmsArticleEntity> selectList(Map<String, Object> params);

    CmsArticleEntity getArticleByID(Integer articleId);

    List<CmsArticleEntity> selectListforHome(String ids);
}


